import request from '@/utils/request'


//查看评论
export const getComments = (data) =>
  request.post('/adminpc/comment/', data)

//查看评论详情
export const getCommentDetail = (data) =>
  request.post('/adminpc/comment/detail/', data)

//删除评论
export const deleteCommentapi = (data) =>
  request.post('/adminpc/users/comment/delete/', data)

//修改评论
export const alterCommentapi = (data) =>
  request.post('/adminpc/comment/put/', data)

//搜索评论详情
export const searchCommentapi = (data) =>
  request.get('/adminpc/comment/search/'+data)

